package gameevent

import (
	"xr-game-server/core/event"
)

const (
	NoticeEvent event.Type = "NoticeEvent"
)

type NoticeEventData struct {
	TypeId uint8
	Param  []any
}

func NewCfgNoticeEventData(param []any, typeId uint8) *NoticeEventData {
	return &NoticeEventData{
		Param:  param,
		TypeId: typeId,
	}
}
